home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19961006-19970104 / 000207_news@columbia.edu _Wed Nov 20 07:10:25 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id HAA09695 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 20 Nov 1996 07:10:25 -0500 (EST)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id HAA05799 for kermit.misc@watsun; Wed, 20 Nov 1996 07:10:24 -0500 (EST)
  4. Path: news.columbia.edu!panix!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!news.ptd.net!newsmaster
  5. From: "Joe" <jbarbara@prolog.net>
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Kermit Server Help
  8. Date: 20 Nov 1996 12:02:41 GMT
  9. Organization: ProLog - PenTeleData, Inc.
  10. Lines: 45
  11. Message-ID: <01bbd6da$b9107a20$0d15bacc@jab315.cac.psu.edu>
  12. NNTP-Posting-Host: cs1-13.pcn.ptd.net
  13. X-Newsreader: Microsoft Internet News 4.70.1155
  14.  
  15. I am looking for the actual character codes sent to a kermit server to:
  16.  
  17. get file:
  18. so far I have figured out 0x01 0x27 0x20 0x52 <filename> <checksum byte>
  19. 0x0d
  20.  
  21. and response from get
  22.  
  23.  
  24. finish
  25.  
  26.  
  27. logoff
  28.  
  29.  
  30. I am writing an application and apparently the com lib I using does support
  31. kermit xfer after I can tell the remote system I want to retrieve the file
  32.  
  33. I am also have some trouble calculating the checksum my checksums always
  34. works out to be 0x20 off 
  35.  
  36. example
  37.  
  38. original kermit packet
  39. 0x01 0x23 0x20 0x4e 0x33 0x0d
  40.                                 ^^^^^^
  41. thats the checksum
  42. eveytime I calculate I get 0x13
  43.  
  44. by the following formula:  checksum = (((sum & 0300) >> 6) + sum) & 077;
  45. sum = all the bytes added up excluding the initial 0x01 upto the checksum
  46. bytes
  47.  
  48. to get it to work I had to:   checksum =( (((sum & 0300) >> 6) + sum) &
  49. 077) + 0x20;
  50.  
  51. I tested it on at least 3 different packet I captured and all work out to
  52. be 0x20 off
  53.  
  54. please respond to:
  55. jbarbara@prolog.net, jbarbara@mycrowynn.com
  56.  
  57. Thanks again
  58.  
  59. Any help greatly appreciated.